package com.ruoyi.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息管理对象 t_goods
 * 
 * @author zxr
 * @date 2023-06-20
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号id_主键 */
    @Excel(name = "商品编号id_主键")
    private Integer goodsId;

    /** 商品编码 */
    @Excel(name = "商品编码")
    private String goodsCode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 生产厂商ID_外键 */
    @Excel(name = "生产厂商ID_外键")
    private Integer producerId;

    /** 供应商ID_外键 */
    @Excel(name = "供应商ID_外键")
    private Integer supplierId;

    /** 商品单位_外键 */
    @Excel(name = "商品单位_外键")
    private Integer unitId;

    /** 商品类别一级id_外键 */
    @Excel(name = "商品类别一级id_外键")
    private Integer goodsTypeLevel1Id;

    /** 商品类别二级id_外键 */
    @Excel(name = "商品类别二级id_外键")
    private Integer goodsTypeLevel2Id;

    /** 商品类别三级id_外键 */
    @Excel(name = "商品类别三级id_外键")
    private Integer goodsTypeLevel3Id;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setGoodsId(Integer goodsId) 
    {
        this.goodsId = goodsId;
    }

    public Integer getGoodsId() 
    {
        return goodsId;
    }
    public void setGoodsCode(String goodsCode) 
    {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode() 
    {
        return goodsCode;
    }
    public void setGoodsName(String goodsName) 
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName() 
    {
        return goodsName;
    }
    public void setProducerId(Integer producerId) 
    {
        this.producerId = producerId;
    }

    public Integer getProducerId() 
    {
        return producerId;
    }
    public void setSupplierId(Integer supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Integer getSupplierId() 
    {
        return supplierId;
    }
    public void setUnitId(Integer unitId) 
    {
        this.unitId = unitId;
    }

    public Integer getUnitId() 
    {
        return unitId;
    }
    public void setGoodsTypeLevel1Id(Integer goodsTypeLevel1Id) 
    {
        this.goodsTypeLevel1Id = goodsTypeLevel1Id;
    }

    public Integer getGoodsTypeLevel1Id() 
    {
        return goodsTypeLevel1Id;
    }
    public void setGoodsTypeLevel2Id(Integer goodsTypeLevel2Id) 
    {
        this.goodsTypeLevel2Id = goodsTypeLevel2Id;
    }

    public Integer getGoodsTypeLevel2Id() 
    {
        return goodsTypeLevel2Id;
    }
    public void setGoodsTypeLevel3Id(Integer goodsTypeLevel3Id) 
    {
        this.goodsTypeLevel3Id = goodsTypeLevel3Id;
    }

    public Integer getGoodsTypeLevel3Id() 
    {
        return goodsTypeLevel3Id;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodsId", getGoodsId())
            .append("goodsCode", getGoodsCode())
            .append("goodsName", getGoodsName())
            .append("producerId", getProducerId())
            .append("supplierId", getSupplierId())
            .append("unitId", getUnitId())
            .append("goodsTypeLevel1Id", getGoodsTypeLevel1Id())
            .append("goodsTypeLevel2Id", getGoodsTypeLevel2Id())
            .append("goodsTypeLevel3Id", getGoodsTypeLevel3Id())
            .append("remarks", getRemarks())
            .toString();
    }
}
